package net.wzw.service;

import net.wzw.entity.FoodQueryEntity;
import net.wzw.entity.FoodSaveOrUpdateEntity;
import net.wzw.utils.ApiResult;
import net.wzw.vo.FoodVO;

import java.util.Map;

/**
 * @author wzw
 * @date 2025/4/19
 * @Description美食服务类
 */
public interface FoodService {

    /*
     * Description: 查询美食信息
     * @param foodId
     * @Return: {@link null}
     * @Author: Administrator
     * @Date: 2025/4/19 21:56
     */
    FoodVO getFoodInfo(Long foodId);

    /*
     * Description: 查询我的美食列表
     * @param foodId
     * @Return: {@link null}
     * @Author: Administrator
     * @Date: 2025/4/19 21:56
     */
    Map<String,Object> getFoodList(FoodQueryEntity foodQueryEntity);


    /**
     *  添加/修改美食信息
     */
    ApiResult saveOrUpdate(FoodSaveOrUpdateEntity foodSaveOrUpdateEntity);

}
